package com.szc.demo01.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.szc.demo01.dao.OfficeMapper;
import com.szc.demo01.pojo.Office;
import com.szc.demo01.service.OfficeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
public class OfficeServiceImpl extends ServiceImpl<OfficeMapper, Office> implements OfficeService {
    @Resource
    private OfficeMapper officeMapper;


    @Override
    public List<Office> listByeId(long eId) {
        return officeMapper.listByeId(eId);
    }

    @Override
    public List<Office> selfBx(long eId, int isBx) {
        return officeMapper.selfBx(eId,isBx);
    }

    @Override
    public List<Office> listBx(int isBx) {
        return officeMapper.listBx(isBx);
    }
}
